package com.logisticsinquiry.android

import android.graphics.drawable.Drawable
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.core.content.ContextCompat
import kotlinx.android.synthetic.main.history.*


class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        /*setContentView(R.layout.login)*/
        setContentView(R.layout.activity_main)
        setSupportActionBar(toolbar)

        val img: Drawable? = ContextCompat.getDrawable(QueryApplication.context, R.drawable.search)
        img?.setBounds(
            0,
            0,
            70,
            70
        )
        input_query.setCompoundDrawables(img, null, null, null)
        //setSupportActionBar(toolbar)`
    }

}